<?php
include "../include/global.php";

?>
<?php echo '<?xml version="1.0" encoding="UTF-8"?>';?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<?php
$sql = "SELECT t.tour_id, t.tour_name, c.country_code, t.lang FROM ".pre_table."tour t, ".pre_table."country c 
			WHERE c.country_id=t.country_id AND tour_isactive=1 ORDER BY tour_position";

$rs = execSQL($sql);
while($row=mysql_fetch_array($rs)){
?>
<url><loc><?php echo const_Web_Url.'index.php/tours/'.$row['country_code'].'/'.$row['tour_id'].'/'.codau2kodau($row['tour_name']).'.html';?></loc></url>
<?php	
}
?>
</urlset>